package com.hex.ds.hdrs.log.dao;

import com.hex.bigdata.hbda.base.BaseDao;
import com.hex.bigdata.hbda.base.Page;
import com.hex.ds.hdrs.log.po.SmsSendLog;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class SmsSendLogDao extends BaseDao {
    public List<SmsSendLog> selectPages(Map map, Page page) {

        return this.selectPage(SmsSendLog.class,"com.hex.ds.hdrs.log.dao.SmsSendLogDao.SmsSendLogDao.selectAll",page,map);
    }

    public int add(SmsSendLog smsSendLog){
        return this.insert("com.hex.ds.hdrs.log.dao.SmsSendLogDao.insert", smsSendLog);
    }
}
